package com.hlpedu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 实体类，遵循ORM思想
 */
@Data
@AllArgsConstructor//表示全参构造器
@NoArgsConstructor//表示无参构造器
public class TbUser implements Serializable {
    private static final long serialVersionUID = 2597712573765264664L;
    private Integer uId;
    private String uName;
    private String uSex;
    private Integer uAge;

    public TbUser(Integer uId, String uName, String uSex) {
        this.uId = uId;
        this.uName = uName;
        this.uSex = uSex;
    }
}
